Namespaces

Functions

string
cachebust_asset(string $path, bool $secure = null)

Generate an asset path with a cachbusting query string for the application.

at line 11
string
fragment_uuid_path(string $uuid)

Fragment a UUID beginning with "abcdef..."" to "ab/cd/abcdef...".

at line 55
string
readable_number(int|float $n)

Shorten a large number to a readable size, e.g. 154222 => 154k.

at line 29
string
thumbnail_url(string $uuid = null, string $disk = null, string $format = null)

Assemble the public URL to an image thumbnail.

at line 70